<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <title>travel</title>
    <script>
    	(function(){
    		//页面宽度分成18份,每份60px
    		let html=document.documentElement;
			let wH=html.getBoundingClientRect().width;
			html.style.fontSize=wH/18+'px';
//			console.log(html.style.fontSize)
    	})()
    	
    </script>
  </head>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>